package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Member;

import java.util.List;

public interface MemberService {
    void add(Member member);


  Member findByTelephone(String telephone);

    List<Integer> findMemberCountByMonth(List<String> list);

    PageResult findPage(QueryPageBean queryPageBean);

    Member findById(Integer id);

    void edit(Member member);

    void delete(Integer id);

    List<Integer> findAgeNumber();
}
